{include file="header.html"}
<div> 
 
<ul class="nav nav-tabs">
	<li class="active"><a  href="{$appadmin}?m=pagetpl">管理</a></li>
	<li><a   href="{$appadmin}?m=pagetpl&a=add">添加</a></li>
</ul>

 <table class="table table-bordered" width="100%">
  <tr>
   <td>id</td>
   <td>m</td>
   <td>a</td>
   <td>tpl</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.m}</td>
   <td>{$c.a}</td>
   <td>{$c.tpl}</td>
<td><a href="admin.php?m=pagetpl&a=add&id={$c.id}">编辑</a> 
	
	<a href="javascript:;" class="delete" url="admin.php?m=pagetpl&a=delete&ajax=1&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}